import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
import { Menu, Submenu, MenuItem, MenuItemGroup, Table, TableColumn, Tag, Notification, Message, Dialog, MessageBox } from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(Menu)
Vue.use(Submenu)
Vue.use(MenuItem)
Vue.use(MenuItemGroup)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Tag)
Vue.use(Dialog)
Vue.prototype.$message = Message;
Vue.prototype.$notify = Notification;
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$alert = MessageBox.alert;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$prompt = MessageBox.prompt;

import router from './router/router'

import app from './App.vue'

const vm = new Vue({
  el: '#app',
  render: c => c(app),
  router
})